{extend name="common:base" /}

{block name="page_title"}控制台{/block}

{block name="content"}
<section class="content">
    <!-- Info boxes -->
    <div class="row">
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-aqua"><i class="ion ion-ios-gear-outline"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">CPU Traffic</span>
                    <span class="info-box-number">90<small>%</small></span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-red"><i class="fa fa-google-plus"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">Likes</span>
                    <span class="info-box-number">41,410</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->

        <!-- fix for small devices only -->
        <div class="clearfix visible-sm-block"></div>

        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-green"><i class="ion ion-ios-cart-outline"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">Sales</span>
                    <span class="info-box-number">760</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-yellow"><i class="ion ion-ios-people-outline"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">New Members</span>
                    <span class="info-box-number">2,000</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->

    <div class="row">
        <div class="col-md-6">
            <div class="box">
                <div class="box-header with-border">
                    <h3 class="box-title">环境</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body">
                    <div class="row">
                        <div class="col-xs-12">
                            <table class="table table-striped table-bordered">
                                <tr>
                                    <td>服务器操作系统</td>
                                    <td>{$Think.const.PHP_OS}</td>
                                </tr>
                                <tr>
                                    <td>运行环境</td>
                                    <td>
                                        <?php
                                        $server_software = explode(' ', $_SERVER['SERVER_SOFTWARE']);
                                        echo $server_software[0];
                                    ?>
                                    </td>
                                </tr>
                                <tr>
                                    <td>PHP版本</td>
                                    <td><?php echo PHP_VERSION; ?></td>
                                </tr>
                                <tr>
                                    <td>MYSQL版本</td>
                                    <td><?php $system_info_mysql = db()->query("select version() as v;");?>{$system_info_mysql.0.v}</td>
                                </tr>
                                <tr>
                                    <td>上传限制</td>
                                    <td>{:ini_get('upload_max_filesize')}</td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <!-- /.row -->
                </div>
                <!-- ./box-body -->
            </div>
            <!-- /.box -->
        </div>
        <div class="col-md-6">
            <div class="box">
                <div class="box-header with-border">
                    <h3 class="box-title">开发团队</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body">
                    <div class="row">
                        <div class="col-xs-12">
                            <table class="table table-striped table-bordered">
                                <tr>
                                    <td>产品型号</td>
                                    <td>GidaBase {:config('site.version')} - build {:config('site.build')} <a href="javascript:;">检测更新</a></td>
                                </tr>
                                <tr>
                                    <td>官方支持</td>
                                    <td><a href="//www.gidasoft.com" target="_blank">太阳软件</a></td>
                                </tr>
                                <tr>
                                    <td>程序</td>
                                    <td>Eric chan QQ：80148096<img  style="CURSOR: pointer" onclick="javascript:window.open('http://b.qq.com/webc.htm?new=0&sid=80148096&o=gidasoft.com&q=7', '_blank', 'height=502, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"  border="0" SRC=http://wpa.qq.com/pa?p=1:80148096:1 alt="点击这里给我发消息"></td>
                                </tr>
                                <tr>
                                    <td>前端</td>
                                    <td>Eric chan QQ：80148096<img  style="CURSOR: pointer" onclick="javascript:window.open('http://b.qq.com/webc.htm?new=0&sid=80148096&o=gidasoft.com&q=7', '_blank', 'height=502, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"  border="0" SRC=http://wpa.qq.com/pa?p=1:80148096:1 alt="点击这里给我发消息"></td>
                                </tr>
                                <tr>
                                    <td>UI</td>
                                    <td><a href="https://adminlte.io/" target="_blank">AdminLTE</a></td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <!-- /.row -->
                </div>
                <!-- ./box-body -->
            </div>
            <!-- /.box -->
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->
</section>
{/block}